package blue.starter.internal.mqtt.property;

import java.util.Map;

/**
 * @author Jin Zheng
 * @since 1.0 2020-07-30
 */
public class MqttListenerProperties
{
	private String beanName;
	private String topic;
	private int qos;
	private boolean multiThread;
	private String taskExecutor;
	private String exceptionHandler;
	private Map<String, String> args;

	public MqttListenerProperties()
	{
	}

	public String getBeanName()
	{
		return beanName;
	}

	public void setBeanName(String beanName)
	{
		this.beanName = beanName;
	}

	public String getTopic()
	{
		return topic;
	}

	public void setTopic(String topic)
	{
		this.topic = topic;
	}

	public int getQos()
	{
		return qos;
	}

	public void setQos(int qos)
	{
		this.qos = qos;
	}

	public boolean isMultiThread()
	{
		return multiThread;
	}

	public void setMultiThread(boolean multiThread)
	{
		this.multiThread = multiThread;
	}

	public String getTaskExecutor()
	{
		return taskExecutor;
	}

	public void setTaskExecutor(String taskExecutor)
	{
		this.taskExecutor = taskExecutor;
	}

	public String getExceptionHandler()
	{
		return exceptionHandler;
	}

	public void setExceptionHandler(String exceptionHandler)
	{
		this.exceptionHandler = exceptionHandler;
	}

	public Map<String, String> getArgs()
	{
		return args;
	}

	public void setArgs(Map<String, String> args)
	{
		this.args = args;
	}
}
